package org.simplespringframework.mvc.render.impl;


import org.simplespringframework.mvc.RequestProcessorChain;
import org.simplespringframework.mvc.render.ResultRender;


/**
 * @BelongsProject: simpleframework
 * @BelongsPackage: org.simplespringframework.mvc.render.impl
 * @Author: xshang
 * @CreateTime: 2023-06-28  16:39
 * @Description: 默认渲染器
 * @Version: 1.0
 */
public class DefaultResultRender implements ResultRender {
    @Override
    public void render(RequestProcessorChain requestProcessorChain) throws Exception {
        requestProcessorChain.getResponse().setStatus(requestProcessorChain.getResponseCode());
    }
}
